package com.intelligent.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存明细VO
 */
@Data
public class InventoryDetailsVO {
    @ApiModelProperty("库存明细ID")
    private Long id;

    @ApiModelProperty("库存编号")
    private String inventoryNo;

    @ApiModelProperty("产品ID")
    private Long productId;

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("产品编码")
    private String productCode;

    @ApiModelProperty("规格")
    private String specification;

    @ApiModelProperty("分类(0:成品 1:半成品 2:残次品)")
    private Integer category;

    @ApiModelProperty("单位ID")
    private Long unitId;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("仓库ID")
    private Long warehouseId;

    @ApiModelProperty("仓库名称")
    private String warehouseName;

    @ApiModelProperty("来源")
    private String source;

    @ApiModelProperty("库存金额")
    private Integer stock;

    @ApiModelProperty("库存数量")
    private Long quantity;

    @ApiModelProperty("采购价格")
    private BigDecimal purchasePrice;

    @ApiModelProperty("销售价格")
    private BigDecimal salePrice;

}
